﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Data_Object
{
    public interface IRepository<T,IdT>
    {
        List<T> All();
        T Find(IdT id);
        void Insert(T entity);
        void Update(T entity);
        void Delete(IdT id);
    }
}
